package io.mft.as.ar.gateway;

import cn.hutool.core.util.RandomUtil;
import io.mft.as.ar.gateway.client.GateWayListener;
import io.mft.as.ar.gateway.config.BusConfig;
import io.mft.as.ar.gateway.config.BusIdConfig;

public class AR {
	static boolean  started=false;
	public static void start() {
		if (!started) {
			BusConfig.getInstance();
			BusIdConfig.getInstance();
			GateWayListener listener=new GateWayListener();
			listener.start();
			started=true;
		}

	}
	
	public static void main(String[] args) {
		System.out.println( RandomUtil.randomInt(4));
	}
}
